package com.secneo.appshare.privatemsg;

import android.graphics.drawable.Drawable;

public class PrivateMsg {
	
	private String fid ;
	private String tid ;
	private String o_username ;	//另一个人的用户名
	private String o_iconurl ;	//另一个人的头像地址
	private String data ;
	private String time ;	
	private boolean isNew ;
	private int msg_id ;
	public Drawable o_icon ;
	
	public PrivateMsg(){
		
	}

	public PrivateMsg(String fid, String tid, String oUsername,
			String oIconurl, String data, String time, boolean isNew,
			int msgId, Drawable oIcon) {
		super();
		this.fid = fid;
		this.tid = tid;
		o_username = oUsername;
		o_iconurl = oIconurl;
		this.data = data;
		this.time = time;
		this.isNew = isNew;
		msg_id = msgId;
		o_icon = oIcon;
	}

	public int getMsg_id() {
		return msg_id;
	}

	public void setMsg_id(int msgId) {
		msg_id = msgId;
	}

	public String getFid() {
		return fid;
	}
	public void setFid(String fid) {
		this.fid = fid;
	}
	public String getTid() {
		return tid;
	}
	public void setTid(String tid) {
		this.tid = tid;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getO_username() {
		return o_username;
	}
	public void setO_username(String oUsername) {
		o_username = oUsername;
	}
	public String getO_iconurl() {
		return o_iconurl;
	}
	public void setO_iconurl(String oIconurl) {
		o_iconurl = oIconurl;
	}

	public boolean isNew() {
		return isNew;
	}

	public void setNew(boolean isNew) {
		this.isNew = isNew;
	}

	public Drawable getO_icon() {
		return o_icon;
	}

	public void setO_icon(Drawable oIcon) {
		o_icon = oIcon;
	}	
		
}
